import os

def test1():
    # filename = "./test/1/1.flv"
    filename = "./test/2/2.flv"
    # test = filename.split('/')[0-1]
    # print(test)
    # os.remove(filename)
    os.renames(filename,f"{filename}===========")
    
def test2():
    filename = '\\Otcloud_3442\ed87\onecloud\tddownload'
    files = os.listdir(filename)
    print(files)
    
def test3():
    while True:
        num = input("输入数字：")
        if int(num) == 0:
            break
        else:
            print(num)
            
def test4():
    n1 = 'gsde123.mp4====='            
    n2 = 'gsde123asdf.mp4====='            
    n3 = 'gsde123fsadff.mp4====='            
    res = n3.split("====")[0]
    print(res)
if __name__ == '__main__':
    test4()